package com.google.code.head2head.gwtmodules.client.services;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;

public interface FacadeServices extends RemoteService {
	
	public List getAllEntries(String[] tags) throws Exception;
	
	/**
	 * Returns the user id
	 * @param userLogin
	 * @param userPassword
	 * @return
	 */
	public Long login(String userLogin, String userPassword);
	
	public void logout();
	
	public String rateEntry(Long entryId, int rating) ;
	
	public String addEntryInformations(String title, String keywords);
	
}
